package com.lc.reggie.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lc.reggie.entity.Dish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface DishMapper extends BaseMapper<Dish>
{
	//ERROR!!!
//	@Update("update dish set status = !#{status} where id in #{ids})")
//	public int update(@Param("status") Integer status, @Param("ids") List<Long> ids);
}
